#pragma once

#include "NormalizeFont.h"
#include "GePoly2d.h"

namespace tge
{
	struct LineMetircs
	{
		double above;
		double below;
		double width;
	};
	interface IFontGlyphManager
	{
	public:
		IFontGlyphManager();
		~IFontGlyphManager();
		CNormalizeFont* GetFont(const FontDesc &fontDesc);
		BOOL TextOutPolyPolyline(LPCWSTR pwszText, CNormalizeFont&font, GePoly2dArray & arrPoly, GeBoundBox2d & boundBox);
		BOOL TextOutMesh(LPCWSTR pwszText, CNormalizeFont&pFont, triangle_data & triData, GeBoundBox2d & boundBox);
	};
}
using namespace tge;